from flask import Flask
from flask_cors import CORS
from cate import bp_cate
from goods import bp_goods
app = Flask(__name__)
CORS(app)

app.register_blueprint(bp_cate,url_prefix='/cate')
app.register_blueprint(bp_goods,url_prefix='/goods')
if __name__ == '__main__':
    app.run()
    